<form id="da-form-spdp" class="da-form" method="post" action="functions/crud/perkara.php">
<div class="da-form-inline">
	<div class="da-form-row">
		<label class="da-form-label">Nomor Surat</label>
		<div class="da-form-item">
		<?php if(data_tersedia('t_p16',KD_PERKARA)) {
			$dt = mysql_fetch_array(mysql_query("SELECT * FROM t_p16 WHERE kd_perkara='".KD_PERKARA."'"));
			echo 'PRINT- '.$dt['no_surat'].'/0.5.10.3/'.$dt_spdp['jns_pidana'].konversi_tanggal('/m/Y',$dt['tgl_dikeluarkan']);
		} else {
			echo 'PRINT- '.p16_register($dt_spdp['kd_pidana']).'/0.5.10.3/'.$dt_spdp['jns_pidana'].date('/m/Y');
		} ?>
		</div>
	</div>

	<div class="da-form-row">
		<label class="da-form-label">Nomor </label>
		<div class="da-form-item">
			<input type="text" name="no_polisi" value="<?php echo $dt_spdp['no_polisi']?>">
		</div>
	</div>

	<div class="da-form-row">
		<label class="da-form-label">Nama Tersangka</label>
		<div class="da-form-item">
			
		</div>
	</div>
	
	<div class="da-form-row">
		<label class="da-form-label">Tanggal</label>
		<div class="da-form-item">
			<input type="text" name="no_polisi" value="">
		</div>
	</div>
	
	<div class="da-form-row">
		<label class="da-form-label">Uraian Singkat</label>
		<div class="da-form-item">
			<textarea name="uraian"></textarea>
		</div>
	</div>
	
	<div class="da-form-row">
		<label class="da-form-label">Tanggal Perpanjangan</label>
		<div class="da-form-item">
			<input type="text" name="no_polisi" value="">
		</div>
	</div>
	
	<div class="da-form-row">
		<label class="da-form-label">Diperpanjang Selama</label>
		<div class="da-form-item">
			<select name="lama-perpanjangan">
				<option>20</option>
				<option>40</option>
			</select>
			Hari
		</div>
	</div>
	
	<div class="da-form-row">
		<label class="da-form-label">Jenis Penahanana</label>
		<div class="da-form-item">
			<select name="jenis-penahanan">
				<option>RUMAH</option>
				<option>RUTAN</option>
				<option>KOTA</option>
			</select>
		</div>
	</div>
</div>
	
	<div class="btn-row">
		<!--button class="btn"><i class="icol-calendar-2"></i> Riwayat Dokumen</button-->
		<button href="#" id="t4-dialog" class="btn"><i class="icol-printer"></i> Cetak</button>
		<button class="btn"><i class="icol-disk"></i> Simpan</button>
		<input id="mode-input" type="hidden" name="t4" value="simpan" />
		<input type="hidden" name="kd" value="<?php echo KD_PERKARA ?>" />
	</div>
</form>

<div id="t4-dialog-div" style="display:none;">
	<p id="berkas"></p>
</div>
